package com.xiejr.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xiejr.model.entity.BaseEntity;
import lombok.*;
import lombok.experimental.SuperBuilder;


/**
 * 订单商品关联表 (OrderItems)实体类
 *
 * @author mobai
 * @since 2021-02-14 21:23:51
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_items")
@EqualsAndHashCode(callSuper = true)
public class OrderItems extends BaseEntity {
    private static final long serialVersionUID = 824886495774512799L;
        
    /**
     *  主键id
     */
    
    private String id;
    
    
        

        
    /**
     *  归属订单id
     */
    
    private String orderId;
    
    
        

        
    /**
     *  商品id
     */
    
    private String itemId;
    
    
        

        
    /**
     *  商品图片
     */
    
    private String itemImg;
    
    
        

        
    /**
     *  商品名称
     */
    
    private String itemName;
    
    
        

        
    /**
     *  规格id
     */
    
    private String itemSpecId;
    
    
        

        
    /**
     *  规格名称
     */
    
    private String itemSpecName;
    
    
        

        
    /**
     *  成交价格
     */
    
    private Double price;
    
    
        

        
    /**
     *  购买数量
     */
    
    private Integer buyCounts;
    
    
        

        

    
        



}